//
//  DCSecureKeyboardManager.h
//  DCAvchatSDK
//
//  Created by 张涛 on 2020/12/23.
//  Copyright © 2020 zhangtao. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DCAvchatSDKConfig.h"
#ifdef SecureKeyboardManagerKit
    #import <DCSecureKeyboardKit/DCSecureKeyboardKit.h>
#endif
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface DCSecureKeyboardManager : NSObject

#ifdef SecureKeyboardManagerKit

@property(nonatomic,strong) SecureKeyboardKit *secureKeyboardKit;

- (void) createSecureKeyboard:(NSDictionary* __nullable)config parentViewController:(UIViewController*)parentViewController contentChanged:(void(^)(NSDictionary *changed))contentChanged callback:(nullable void (^)(DCError *error,NSDictionary *data))callback;

- (void) openSecureKeyboard:(NSString*)keyboardId config:(NSDictionary* __nullable)config parentViewController:(UIViewController*)parentViewController contentChanged:(void(^)(NSDictionary *changed))contentChanged callback:(nullable void (^)(DCError *error,NSDictionary *data))callback;

- (void) closeSecureKeyboard:(NSString*)keyboardId;

#endif

@end

NS_ASSUME_NONNULL_END
